package com.rajaev.dtu.tractor.infrastructure.base.enums;

public enum BatteryElectricType implements BaseEnum<BatteryElectricType, Integer> {

    CHARGE(1),
    DISCHARGE(2);

    private Integer code;


    BatteryElectricType(Integer code) {
        this.code = code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }
}
